//
//  HomeCollectionCell.m
//  QuickCure1
//
//  Created by 李江波 on 2016/10/31.
//  Copyright © 2016年 maoge. All rights reserved.
//

#import "HomeCollectionCell.h"

@implementation HomeCollectionCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setImgForCollectionCellWithIndexpath:(NSIndexPath *)indexPath{

    NSArray *arrayImg = @[@"zl",@"xyg",@"sj",@"xyg",@"gt",@"gy"];
    
    NSArray *arrayName = @[@"肿瘤",@"心血管",@"神经科",@"血液科",@"骨科",@"公益活动"];
    
    self.img.image = [UIImage imageNamed:arrayImg[indexPath.row]];
    self.name.text = arrayName[indexPath.row];

}

@end
